package com.mye.prometheusexportdcim.model.gaugeMetric;

/**
 * @author hch
 * @创建人 hch
 * @创建时间 2021/6/28 18:54
 * @描述 TODO
 * @版本 1.0.0
 */
public class Snmp {

    /**
     * snmp地址
     */
    private String ipAddr;

    /**
     * snmp端口
     */
    private int port;


    private String snmpAddress;


    /**
     * snmp协议类型
     */
    private int snmpProtocol;


    private String username;


    private String encryptionWay;
    private String encryptionPassword;
    private String authWay;
    private String authPassword;

    private String oidRoot;

    private int oidSerialNumber;

    private int pointIndex;

    private String oid;


    public String getIpAddr() {
        return ipAddr;
    }

    public void setIpAddr(String ipAddr) {
        this.ipAddr = ipAddr;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public int getSnmpProtocol() {
        return snmpProtocol;
    }

    public void setSnmpProtocol(int snmpProtocol) {
        this.snmpProtocol = snmpProtocol;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getSnmpAddress() {
        return snmpAddress;
    }

    public void setSnmpAddress(String snmpAddress) {
        this.snmpAddress = snmpAddress;
    }

    public String getEncryptionWay() {
        return encryptionWay;
    }

    public void setEncryptionWay(String encryptionWay) {
        this.encryptionWay = encryptionWay;
    }

    public String getEncryptionPassword() {
        return encryptionPassword;
    }

    public void setEncryptionPassword(String encryptionPassword) {
        this.encryptionPassword = encryptionPassword;
    }

    public String getAuthWay() {
        return authWay;
    }

    public void setAuthWay(String authWay) {
        this.authWay = authWay;
    }

    public String getAuthPassword() {
        return authPassword;
    }

    public void setAuthPassword(String authPassword) {
        this.authPassword = authPassword;
    }

    public String getOidRoot() {
        return oidRoot;
    }

    public void setOidRoot(String oidRoot) {
        this.oidRoot = oidRoot;
    }

    public int getOidSerialNumber() {
        return oidSerialNumber;
    }

    public void setOidSerialNumber(int oidSerialNumber) {
        this.oidSerialNumber = oidSerialNumber;
    }

    public int getPointIndex() {
        return pointIndex;
    }

    public void setPointIndex(int pointIndex) {
        this.pointIndex = pointIndex;
    }

    public String getOid() {
        return oid;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    @Override
    public String toString() {
        return "Snmp{" +
                "ipAddr='" + ipAddr + '\'' +
                ", port=" + port +
                ", snmpAddress='" + snmpAddress + '\'' +
                ", snmpProtocol=" + snmpProtocol +
                ", username='" + username + '\'' +
                ", encryptionWay='" + encryptionWay + '\'' +
                ", encryptionPassword='" + encryptionPassword + '\'' +
                ", authWay='" + authWay + '\'' +
                ", authPassword='" + authPassword + '\'' +
                ", oidRoot='" + oidRoot + '\'' +
                ", oidSerialNumber=" + oidSerialNumber +
                ", pointIndex=" + pointIndex +
                ", oid='" + oid + '\'' +
                '}';
    }
}
